package com.jdzy.student.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jdzy.model.teacher.dtos.AssginMenuDto;
import com.jdzy.model.teacher.pojos.SysRoleMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
    List<Long> findSysRoleMenuByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);

    void doAssign(AssginMenuDto assginMenuDto);

    void updateSysRoleMenuIsHalf(Long id);
}
